Skip to content

Migrate from TestFactory to ParameterizedTest - #2188

Merged
Goooler merged 12 commits into
mainfrom
g/20260813/ParameterizedTest
Aug 14, 2026
Merged

Migrate from TestFactory to ParameterizedTest#2188
Goooler merged 12 commits into
mainfrom
g/20260813/ParameterizedTest

Conversation

@Goooler

@Goooler Goooler commented Aug 13, 2026

Copy link
Copy Markdown
Member

No description provided.

@Goooler
Goooler force-pushed the g/20260813/ParameterizedTest branch from a9ebba9 to 74a5556 Compare August 13, 2026 11:31
@Goooler
Goooler requested a lite review from Copilot August 13, 2026 12:59
@Goooler Goooler changed the title Migrate from MethodSource to ParameterizedTest Migrate from TestFactory to ParameterizedTest Aug 13, 2026

This comment was marked as outdated.

@Goooler
Goooler force-pushed the g/20260813/ParameterizedTest branch from 9049fa1 to 876a4aa Compare August 14, 2026 04:07
```
java.lang.AssertionError: The error line in the doc is near file:///Users/goooler/IdeaProjects/shadow/docs/application-plugin/README.md:12

--- Snippet ---

plugins {
  application
  id("com.gradleup.shadow")
}

application {
  mainClass1 = "myapp.Main"
}

--- Gradle Build Output ---

Isolated Projects is an incubating feature.
Calculating task graph as no cached configuration is available for tasks: build
Type-safe project accessors is an incubating feature.

> Configure project :main
e: file:///private/var/folders/ry/cppncsdj3rd634f18p7m2n000000gn/T/junit-12149518669313810440/main/build.gradle.kts:7:3: Unresolved reference 'mainClass1'.

FAILURE: Build failed with an exception.

* Where:
Build file '/private/var/folders/ry/cppncsdj3rd634f18p7m2n000000gn/T/junit-12149518669313810440/main/build.gradle.kts' line: 7

* What went wrong:
Script compilation error:

  Line 7:   mainClass1 = "myapp.Main"
            ^ Unresolved reference 'mainClass1'.

1 error

* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights from a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.
```
@Goooler

Goooler commented Aug 14, 2026

Copy link
Copy Markdown
Member Author
java.lang.AssertionError: The error line in the doc is near file:///Users/goooler/IdeaProjects/shadow/docs/application-plugin/README.md:12

--- Snippet ---

plugins {
  application
  id("com.gradleup.shadow")
}

application {
  mainClass1 = "myapp.Main"
}

--- Gradle Build Output ---

Isolated Projects is an incubating feature.
Calculating task graph as no cached configuration is available for tasks: build
Type-safe project accessors is an incubating feature.

> Configure project :main
e: file:///private/var/folders/ry/cppncsdj3rd634f18p7m2n000000gn/T/junit-12149518669313810440/main/build.gradle.kts:7:3: Unresolved reference 'mainClass1'.

FAILURE: Build failed with an exception.

* Where:
Build file '/private/var/folders/ry/cppncsdj3rd634f18p7m2n000000gn/T/junit-12149518669313810440/main/build.gradle.kts' line: 7

* What went wrong:
Script compilation error:

  Line 7:   mainClass1 = "myapp.Main"
            ^ Unresolved reference 'mainClass1'.

1 error

* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights from a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

@Goooler
Goooler marked this pull request as ready for review August 14, 2026 04:23
@Goooler
Goooler merged commit 49e5a01 into main Aug 14, 2026
5 checks passed
@Goooler
Goooler deleted the g/20260813/ParameterizedTest branch August 14, 2026 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants